package com.acminds.fotoporter.persistence.entities;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the STATE database table.
 * 
 */
@Entity
@Table(name="STATE")
public class State extends com.acminds.fotoporter.persistence.BaseDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="STATE_ID")
	private int stateId;

	@Column(name="NAME")
	private String name;

	@Column(name="SYMBOL")
	private String symbol;

	//bi-directional many-to-one association to Country
    @ManyToOne
	@JoinColumn(name="COUNTRY_ID")
	private Country country;

    public State() {
    }

	public int getStateId() {
		return this.stateId;
	}

	public void setStateId(int stateId) {
		this.stateId = stateId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSymbol() {
		return this.symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public Country getCountry() {
		return this.country;
	}

	public void setCountry(Country country) {
		this.country = country;
	}
	
}